package campus.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.context.annotation.Scope;
import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.stereotype.Component;

import java.util.Date;

/**
  * @name  账套
 * @Author VULCAN
 * @Date 2020/5/8 20:09
 */
@Scope("prototype")
@Component
public class Account {
    private Integer ztId;

    private String ztName;

    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date ztCdate;

    @JsonFormat(pattern ="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date ztCreadate;

    private String ztRoot;

    public Integer getZtId() {
        return ztId;
    }

    public void setZtId(Integer ztId) {
        this.ztId = ztId;
    }

    public String getZtName() {
        return ztName;
    }

    public void setZtName(String ztName) {
        this.ztName = ztName == null ? null : ztName.trim();
    }

    public Date getZtCdate() {
        return ztCdate;
    }

    public void setZtCdate(Date ztCdate) {
        this.ztCdate = ztCdate;
    }

    public Date getZtCreadate() {
        return ztCreadate;
    }

    public void setZtCreadate(Date ztCreadate) {
        this.ztCreadate = ztCreadate;
    }

    public String getZtRoot() {
        return ztRoot;
    }

    public void setZtRoot(String ztRoot) {
        this.ztRoot = ztRoot == null ? null : ztRoot.trim();
    }
}